package cn.iocoder.yudao.module.tms.controller.admin.attachmentinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 公司附件信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AttachmentInfoRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27326")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "关联的公司ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32045")
    @ExcelProperty("关联的公司ID")
    private Long companyId;

    @Schema(description = "附件类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("附件类型")
    private String attachType;

    @Schema(description = "附件名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("附件名称")
    private String attachName;

    @Schema(description = "附件存储路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("附件存储路径")
    private String attachPath;

    @Schema(description = "附件大小（字节）")
    @ExcelProperty("附件大小（字节）")
    private Long attachSize;

    @Schema(description = "附件格式")
    @ExcelProperty("附件格式")
    private String attachFormat;

    @Schema(description = "上传人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上传人")
    private String uploadUser;

    @Schema(description = "上传日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上传日期")
    private LocalDate uploadDate;

    @Schema(description = "附件状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("附件状态")
    private String attachStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}